.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: left;
}

.header h1 {
    font-size: 24px;
    margin: 0;
}

/* 普通用户主页头部颜色 */
.header-normal {
    background-color: #3498db;
}

/* 公司负责人主页头部颜色 */
.header-manager {
    background-color: #3498db;
}

/* 系统管理员主页头部颜色 */
.header-admin {
    background-color: #3498db;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-info span {
    margin-right: 15px;
}

.user-info a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.2);
}

.user-info a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.main-content {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    min-height: 500px;
    display: flex;
}

.welcome-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.welcome-message {
    font-size: 22px;
    color: #2c3e50;
    margin: 0;
}

.refresh-btn {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
    transition: background-color 0.3s;
}

.refresh-btn:hover {
    background-color: #2980b9;
}

.refresh-btn i {
    margin-right: 5px;
}

.placeholder-text {
    color: #7f8c8d;
    font-size: 16px;
}

/* 二级菜单样式 - 左侧列表形式 */
.submenu {
    width: 200px;
    border-right: 1px solid #eee;
    padding-right: 20px;
    margin-right: 30px;
    flex-shrink: 0;
}

.submenu-item {
    margin-bottom: 10px;
    position: relative;
}

.submenu-item a {
    display: block;
    padding: 12px 15px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

/* 红点标注样式 */
.submenu-item .notification-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    font-size: 10px;
    display: none;
    z-index: 10;
}

.submenu-item .notification-badge.show {
    display: block;
}

/* 带数字的红点标注 */
.submenu-item .notification-count {
    position: absolute;
    top: 3px;
    right: 3px;
    background-color: #e74c3c;
    color: white;
    border-radius: 10px;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    font-weight: bold;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    z-index: 10;
    line-height: 1;
}

.submenu-item .notification-count.show {
    display: flex;
}

.submenu-item a:hover {
    background-color: #3498db;
    color: #fff;
}

.submenu-item a.active {
    background-color: #3498db;
    color: #fff;
}

.content-area {
    flex-grow: 1;
}

/* 功能内容区域样式 */
.function-content {
    display: none;
}

.function-content.active {
    display: block;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

.content-area .btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.content-area .btn i {
    margin-right: 5px;
}

.btn-primary {
    background-color: #3498db;
    color: #fff;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-danger {
    background-color: #e74c3c;
    color: #fff;
}

.btn-danger:hover {
    background-color: #c0392b;
}

/* 状态提示样式 */
.status-box {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* 状态和操作按钮的布局 */
.status-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.status-actions #join-company-status {
    flex-grow: 1;
    margin-bottom: 0;
}

.status-actions .refresh-btn {
    margin-left: 15px;
    flex-shrink: 0;
}

.status-pending {
    background-color: #f39c12;
    color: #fff;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
}

.status-rejected {
    background-color: #e74c3c;
    color: #fff;
}

.status-none {
    background-color: #ecf0f1;
    color: #7f8c8d;
}

/* 表格样式 */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

table tr:hover {
    background-color: #f9f9f9;
}

.action-btn {
    padding: 5px 10px;
    margin-right: 5px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.approve-btn {
    background-color: #d4edda;
    color: #155724;
}

.reject-btn {
    background-color: #e74c3c;
    color: #fff;
}

.view-btn {
    background-color: #3498db;
    color: #fff;
}

/* 筛选容器 */
.filter-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

/* 打卡记录筛选容器特殊样式 */
#clock-records .filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 8px 15px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    background-color: #3498db;
    color: #fff;
}

/* 加载提示 */
.loading {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
}

/* 对于普通用户未加入公司的禁用功能 */
.submenu-feature.disabled a {
    background-color: #f5f5f5;
    color: #bdc3c7;
    cursor: not-allowed;
}

.submenu-feature.disabled a:hover {
    background-color: #f5f5f5;
    color: #bdc3c7;
}

/* 员工列表样式 */
.search-container {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-container input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th, .table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table tr:hover {
    background-color: #f1f1f1;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 5px;
    width: 60%;
    max-width: 600px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.employee-detail {
    margin-top: 20px;
}

.employee-detail p {
    margin: 8px 0;
    line-height: 1.5;
}

.modal-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* 警告和信息提示 */
.alert {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #3498db;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #f39c12;
    color: #856404;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #e74c3c;
    color: #721c24;
}

/* Toast提示样式 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 2000;
    animation: fadeIn 0.3s, fadeOut 0.3s 1.7s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

/* 公告样式 */
.announcement-list {
    margin-top: 20px;
}

.announcement-item {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    padding: 15px;
}

.announcement-header {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    padding-bottom: 10px;
    position: relative;
}

.announcement-title {
    margin: 0 0 10px 0;
    color: #333;
}

.announcement-meta {
    color: #666;
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.publisher, .publish-time, .update-time {
    display: inline-block;
}

.update-time {
    color: #ff6600;
    font-style: italic;
}

.announcement-actions {
    position: absolute;
    top: 0;
    right: 0;
}

.announcement-content {
    white-space: pre-wrap;
    line-height: 1.5;
}

.action-buttons {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 15px;
}

/* 表单样式 */
#announcement-form .form-group {
    margin-bottom: 15px;
}

#announcement-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#announcement-form input,
#announcement-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#announcement-form textarea {
    min-height: 150px;
    resize: vertical;
} 

/* 打卡相关样式 */
.attendance-status {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.attendance-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.attendance-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
}

.attendance-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.attendance-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.attendance-message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 18px;
}

/* 打卡记录表格样式 */
.records-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.records-table th {
    background-color: #3498db;
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.records-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.records-table tr:hover {
    background-color: #e6f7ff;
}

.records-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.records-table .status-complete {
    color: #28a745;
}

.records-table .status-incomplete {
    color: #dc3545;
}

.records-table .status-late {
    color: #ffc107;
}

.records-table .status-early {
    color: #17a2b8;
}

/* 日期筛选容器 */
.date-filter {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.date-filter label {
    margin-bottom: 0;
    white-space: nowrap;
}

.date-filter input[type="date"] {
    min-width: 200px; /* 增加日期选择器的最小宽度 */
    padding: 8px 12px;
    height: 36px;
}

.date-filter .btn {
    padding: 8px 15px;
}

.date-filter .btn i {
    margin-right: 5px;
}

.filter-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

/* 今日打卡统计样式 */
.count-container {
    background: #f8f9fa;
    color: black;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.count-container h3 {
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 10px;
}

.count-container .count-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.count-container .count-number {
    font-size: 28px;
    font-weight: 700;
}

.count-container .count-date {
    font-size: 14px;
    opacity: 0.8;
}

.count-details {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.count-item {
    background-color: rgba(200, 200, 200, 0.3);
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.count-label {
    font-size: 14px;
}

.count-value {
    font-weight: 600;
}

/* 分页控件样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 5px;
}

.pagination button {
    padding: 8px 12px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 4px;
    min-width: 40px;
    text-align: center;
}

/* 数字分页按钮样式 */
.pagination button.page-number {
    padding: 8px 12px;
    min-width: 40px;
}

.pagination button:hover {
    background-color: #e0e0e0;
}

.pagination button.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 空记录状态 */
.no-records {
    text-align: center;
    padding: 30px 0;
    color: #666;
    font-style: italic;
}

/* 打卡状态指示器 */
.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.status-indicator.on-time {
    background-color: #28a745;
}

.status-indicator.late {
    background-color: #ffc107;
}

.status-indicator.absent {
    background-color: #dc3545;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .attendance-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .date-filter {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .date-filter input[type="date"] {
        flex: 1;
        min-width: 150px;
    }
    
    .records-table {
        font-size: 14px;
    }
    
    .records-table th, 
    .records-table td {
        padding: 8px 10px;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-container .refresh-btn {
        margin-top: 10px;
    }
}

/* 设置样式 */
.settings-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.settings-header h3 {
    margin: 0;
}

.settings-content {
    margin-bottom: 20px;
}

.settings-group {
    margin-bottom: 10px;
}

.settings-group label {
    font-weight: bold;
    margin-right: 10px;
}

#edit-settings-form-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 状态框样式 */
.status-box {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.status-box i {
    font-size: 24px;
    margin-right: 15px;
    margin-top: 3px;
}

.status-text h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.status-text p {
    margin: 5px 0;
}

.status-info {
    background-color: #e3f2fd;
    border: 1px solid #90caf9;
}

.status-info i {
    color: #1976d2;
}

.status-success {
    background-color: #e8f5e9;
    border: 1px solid #a5d6a7;
}

.status-success i {
    color: #388e3c;
}

.status-pending {
    background-color: #ffeaa7;
    border: 1px solid #ffe082;
}

.status-pending i {
    color: #ffa000;
}

.status-rejected {
    /*background-color: #ffebee;*/
    /*border: 1px solid #ef9a9a;*/
    background-color: #f8d7da;
    border-color: #e74c3c;
    color: #721c24;
}

.status-rejected i {
    color: #d32f2f;
}

/* 消息样式 */
.success-message {
    padding: 10px 15px;
    background-color: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #388e3c;
    border-radius: 4px;
    margin-bottom: 15px;
}

.error-message {
    padding: 10px 15px;
/*  background-color: #ffebee; */
/*  border: 1px solid #ef9a9a; */
/*  color: #d32f2f; */
    background-color: #f8d7da;
    border-color: #e74c3c;
    color: #721c24;
    border-radius: 4px;
    margin-bottom: 15px;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-style: italic;
    color: #666;
}

.empty-message {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
} 

/* 调试区域样式 */
.debug-info {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.debug-info h4 {
    margin-top: 0;
    color: #333;
}

.debug-info pre {
    max-height: 300px;
    overflow-y: auto;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    white-space: pre-wrap;
}

/* 状态操作区域 */
.status-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.status-actions button {
    margin-left: 10px;
}

/* 按钮禁用样式 */
.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
} 

/* 任务管理样式 */
.task-management-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.task-dispatch-form {
    flex: 1;
    min-width: 300px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.task-list-container {
    flex: 2;
    min-width: 400px;
}

.task-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.task-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.task-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.task-status {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
}

.status-dispatched {
    background-color: #e3f2fd;
    color: #1976d2;
}

.status-completed {
    background-color: #fff8e1;
    color: #ff8f00;
}

.status-confirmed {
    background-color: #e8f5e9;
    color: #388e3c;
}

.task-content {
    margin-bottom: 15px;
    white-space: pre-line;
}

.task-info {
    font-size: 14px;
    color: #666;
}

.task-info p {
    margin: 5px 0;
}

.task-score {
    font-weight: 600;
    color: #f57c00;
}

.task-dispatched {
    border-left: 4px solid #1976d2;
}

.task-completed {
    border-left: 4px solid #ff8f00;
    background-color: #fffdf7;
}

.task-confirmed {
    border-left: 4px solid #388e3c;
    background-color: #f7fff9;
}

.score-display {
    text-align: center;
    margin: 10px 0;
    font-weight: 600;
}

.complete-task-btn {
    margin-top: 15px;
    width: 100%;
}

/* 评分滑块样式 */
input[type="range"] {
    width: 100%;
    margin: 10px 0;
}

/* 任务确认模态框样式 */
.task-detail {
    margin-bottom: 20px;
} 

/* 分页控件样式 */
.pagination-container {
    margin-top: 30px; /* 增加上边距 */
    padding-top: 15px; /* 添加内边距 */
    border-top: 1px solid #eee; /* 添加顶部边框线 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pagination-info {
    margin-bottom: 15px; /* 增加底部边距 */
    color: #666;
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    gap: 10px; /* 增加按钮之间的间距 */
}

.pagination-btn {
    padding: 8px 15px; /* 增加按钮内部填充 */
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px; /* 稍微增加圆角 */
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
    min-width: 40px; /* 设置最小宽度确保按钮大小一致 */
    text-align: center;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #e8f4fe; /* 更改悬停颜色，与新按钮颜色协调 */
    border-color: #2196f3;
}

.pagination-btn.active {
    background-color: #2196f3; /* 更改为请求的颜色 */
    color: white;
    border-color: #2196f3;
}

.pagination-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.prev-btn, .next-btn {
    font-weight: bold;
    padding: 8px 12px;
    min-width: 80px; /* 增加前后页按钮的宽度 */
    background-color: #e8f4fe; /* 稍微不同的背景色 */
    border-color: #2196f3;
    color: #2196f3;
} 

/* 绩点查看相关样式 */
.performance-info {
    margin-bottom: 30px;
}

.performance-info .card {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.performance-info .card-header {
    background-color: #f8f9fa;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.performance-info .card-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.performance-info .card-body {
    padding: 15px;
}

.performance-info .card-body p {
    margin-bottom: 10px;
}

.performance-records {
    margin-top: 30px;
}

.performance-records h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.performance-records .table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.performance-records .table th {
    background-color: #f8f9fa;
    font-weight: bold;
    text-align: left;
    padding: 12px 15px;
    border-bottom: 2px solid #ddd;
}

.performance-records .table td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.performance-records .table tr:hover {
    background-color: #f5f5f5;
}

.performance-records .table tr:nth-child(even) {
    background-color: #fafafa;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .performance-info .card-body {
        padding: 10px;
    }
    
    .performance-records .table {
        font-size: 14px;
    }
    
    .performance-records .table th,
    .performance-records .table td {
        padding: 8px 10px;
    }
} 

/* 用户个人资料样式 */
.user-profile-info {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left; /* 确保文本靠左对齐 */
}

.user-profile-info p {
    margin: 12px 0;
    line-height: 1.6;
    color: #333;
    display: flex; /* 使用flex布局 */
    align-items: flex-start;
}

.user-profile-info strong {
    font-weight: 600;
    margin-right: 5px;
    color: #555;
    min-width: 100px;
    display: inline-block;
    text-align: left; /* 标签文本靠左 */
}

.profile-actions {
    margin-top: 25px;
    display: flex;
    justify-content: center; /* 按钮居中对齐 */
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.profile-actions button {
    min-width: 120px;
}

#update-profile-form {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

#update-profile-form .form-group {
    margin-bottom: 20px;
}

#update-profile-form label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
    display: block;
}

#update-profile-form input, 
#update-profile-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

#update-profile-form button {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .profile-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .profile-actions button {
        width: 100%;
    }
} 

/* 密码修改提示样式 */
.password-note {
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #e7f3fe;
    border-left: 4px solid #2196F3;
    color: #0c5460;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.password-note i {
    margin-right: 10px;
    color: #2196F3;
    font-size: 18px;
} 